angular.module('module.template')
    .component('messageComponent', {
        template: '<div ng-if="vm.messageVisible" ng-include="vm.path">',
        bindings: {
            messageVisible: '<',
            message: '<',
            btn: '<',
            cancelbtn: '&',
            surebtn: '&'
        },
        require: {},

        controller: ('MessageComponentController', MessageComponentController),
        controllerAs: 'vm'

    })
MessageComponentController.$inject = [];
function MessageComponentController() {
    var vm = this;
    vm.path = template_view_url + "modeltpl.html";
}

